package com.roncoo.education.course.common.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 课程设置预约
 */
@Data
@ApiModel("课程设置预约")
public class CourseSetAppointmentREQ {

    @NotNull(message = "课程id不能为空")
    @ApiModelProperty(name="courseId",value = "课程id",required = true)
    private Long courseId;

    @NotNull(message = "课程预约状态不能为空")
    @ApiModelProperty(name="isAppointment",value = "课程预约状态",required = true,example = "1",notes = "1预约；0不可预约")
    private Integer isAppointment;

    @NotNull(message = "课程开课时间不能为空")
    @ApiModelProperty(name="openClassDate",value = "课程开课时间",required = true,example = "2020-6-7 8:10:00",notes = "yyyy-MM-dd HH:mm:ss")
    private String openClassDate;
}
